let formatDate = time => {
    if (!time) return ''
    if (time.length > 9) {
        return time.slice(0, 9) + '...'
    }
    return time
}
export { formatDate }